package com.sgb.kjwl.model.entity;

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

/**
 * 招采信息-项目详情
 */
public class PickProjectEntity {

    /**
     * compName : 鏂扮枂鍖楀悲绗竴寤虹瓚瀹夎宸ョ▼鏈夐檺璐ｄ换鍏徃
     * comp_no : 5
     * custom_phone : 6631282
     * linkman : 寮犲厛鐢�
     * phone : 15801352812
     * project : {"addrDetail":"鏂扮枂缁村惥灏旇嚜娌诲尯闃垮嫆娉板湴鍖哄寳灞競褰╃帀璺�","city":"654300","cityName":"闃垮嫆娉板湴鍖�","compNo":"5","contactTel":"","contacts":"","createTime":1562384093000,"district":"","districtName":"","endTime":1509292800000,"id":94,"introduce":"\n閬撹矾鎬婚暱3904.916绫筹紝鍏朵腑锛氬皢鍙拌矾756.516绫筹紝褰╃帀璺�809.313绫筹紝鍗氭湜瑗胯1523.54绫筹紝鐢板洯璺�349.547绫筹紝婊ㄦ渤璺�466绫筹紝绾㈢嚎瀹�15-40绫筹紝鎬婚\u20ac犱环锛�3617.89涓囧厓","isDeleted":0,"name":"鍖楀悲甯傛柊鑰佸煄鍖烘敼鎵╁缓宸ョ▼浜屾爣褰╃帀璺」鐩�","no":"1562384092623","ownUnit":"鍖楀悲甯備腑姝ｅ伐绋嬮」鐩鐞嗘湁闄愯矗浠诲叕鍙�","price":"36178900.00","priceUnit":"","province":"650000","provinceName":"鏂扮枂缁村惥灏旇嚜娌诲尯","source":0,"startTime":1496592000000,"status":1,"totalUnit":"鏂扮枂鍖楀悲绗竴寤虹瓚瀹夎宸ョ▼鏈夐檺璐ｄ换鍏徃","type":"甯傛斂閬撹矾","updateTime":1562384093000}
     */

    private String compName;
    private String comp_no;
    private String custom_phone;
    private String linkman;
    private String phone;
    private ProjectBean project;

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getComp_no() {
        return TextUtils.isEmpty(comp_no) ? "" : comp_no;
    }

    public void setComp_no(String comp_no) {
        this.comp_no = comp_no;
    }

    public String getCustom_phone() {
        return custom_phone;
    }

    public void setCustom_phone(String custom_phone) {
        this.custom_phone = custom_phone;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public ProjectBean getProject() {
        return project;
    }

    public void setProject(ProjectBean project) {
        this.project = project;
    }

    public static class ProjectBean {
        /**
         * addrDetail : 鏂扮枂缁村惥灏旇嚜娌诲尯闃垮嫆娉板湴鍖哄寳灞競褰╃帀璺�
         * city : 654300
         * cityName : 闃垮嫆娉板湴鍖�
         * compNo : 5
         * contactTel :
         * contacts :
         * createTime : 1562384093000
         * district :
         * districtName :
         * endTime : 1509292800000
         * id : 94
         * introduce :
         * 閬撹矾鎬婚暱3904.916绫筹紝鍏朵腑锛氬皢鍙拌矾756.516绫筹紝褰╃帀璺�809.313绫筹紝鍗氭湜瑗胯1523.54绫筹紝鐢板洯璺�349.547绫筹紝婊ㄦ渤璺�466绫筹紝绾㈢嚎瀹�15-40绫筹紝鎬婚€犱环锛�3617.89涓囧厓
         * isDeleted : 0
         * name : 鍖楀悲甯傛柊鑰佸煄鍖烘敼鎵╁缓宸ョ▼浜屾爣褰╃帀璺」鐩�
         * no : 1562384092623
         * ownUnit : 鍖楀悲甯備腑姝ｅ伐绋嬮」鐩鐞嗘湁闄愯矗浠诲叕鍙�
         * price : 36178900.00
         * priceUnit :
         * province : 650000
         * provinceName : 鏂扮枂缁村惥灏旇嚜娌诲尯
         * source : 0
         * startTime : 1496592000000
         * status : 1
         * totalUnit : 鏂扮枂鍖楀悲绗竴寤虹瓚瀹夎宸ョ▼鏈夐檺璐ｄ换鍏徃
         * type : 甯傛斂閬撹矾
         * updateTime : 1562384093000
         */

        private String addrDetail;
        private String contacts;
        private String createTime;
        private String introduce;
        private String name;
        private String no;
        private String ownUnit;
        private String price;
        private String priceUnit;
        private String totalUnit;
        private String type;
        private String period;
        private String projNo;
        @SerializedName("stateStr")
        private String proState;
        private String contactTel;

        public String getContactTel() {
            return contactTel;
        }

        public void setContactTel(String contactTel) {
            this.contactTel = contactTel;
        }

        public String getProState() {
            return proState;
        }

        public void setProState(String proState) {
            this.proState = proState;
        }

        public String getProjNo() {
            return projNo;
        }

        public void setProjNo(String projNo) {
            this.projNo = projNo;
        }

        public String getPeriod() {
            return period;
        }

        public void setPeriod(String period) {
            this.period = period;
        }

        public String getAddrDetail() {
            return addrDetail;
        }

        public void setAddrDetail(String addrDetail) {
            this.addrDetail = addrDetail;
        }

        public String getContacts() {
            return contacts;
        }

        public void setContacts(String contacts) {
            this.contacts = contacts;
        }

        public String getCreateTime() {
//            return "发布时间：" + MDateUtil.getDate(createTime);
            return "发布时间：" + createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getIntroduce() {
            return introduce;
        }

        public void setIntroduce(String introduce) {
            this.introduce = introduce;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return "编号：" + no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getOwnUnit() {
            return ownUnit;
        }

        public void setOwnUnit(String ownUnit) {
            this.ownUnit = ownUnit;
        }

        public String getPrice() {
            return price + "元";
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPriceUnit() {
            return priceUnit;
        }

        public void setPriceUnit(String priceUnit) {
            this.priceUnit = priceUnit;
        }

        public String getTotalUnit() {
            return totalUnit;
        }

        public void setTotalUnit(String totalUnit) {
            this.totalUnit = totalUnit;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
